/**
 * Created with IntelliJ IDEA.
 * User: 俊然
 * Date: 18-1-26
 * Time: 上午11:53
 * To change this template use File | Settings | File Templates.
 */
moduleApp.controller("MenuController",function($rootScope,$scope,$location,$http,$timeout){
    /*是否登录*/
//    $http({
//        method  : 'POST',
//        url     : $rootScope.basePath+'user/login.do',
//        data    : $.param($scope.user),
//        dataType: 'json',
//        headers : {
//            'Content-Type': 'application/x-www-form-urlencoded'
//        }
//    })
//        .success(function(data) {
//            if (data.status == 0) {
//                $scope.userName=data.data.username;
//                $scope.showBtn=false;
//            }
//            else {
////                alert(data.msg)
//            }
//        });
})